
import routerList from './dataCenterRouter.js'
export default [
	{
		path: '/app',
		component: () => import("@/home.vue"),	
		children: [
			{
				path:'/app',
				component: () => import("@/App.vue"),
			},
			{
				path: '/index',
				component: () => import("@/components/index/index.vue"),
			}, {
				path: '/myCenter',
				component: () => import("@/components/mycenter/myCenter.vue"),
			}, {
				path: '/selfDept',
				component: () => import("@/components/org/selfDept.vue"),
			}, {
				path: '/selfRole',
				component: () => import("@/components/org/selfRole.vue"),
			}, {
				path: '/cooDept',
				component: () => import("@/components/org/cooDept.vue"),
			}, {
				path: '/cooDeptAudit',
				component: () => import("@/components/org/cooDeptAudit.vue"),
			}, {
				path: '/premises',
				component: () => import("@/components/premises/premises.vue"),
			}, {
				path: '/premisesDetail/:premisesId',
				name:'premisesDetail',
				component: () => import("@/components/premises/premisesDetail.vue"),
			},{
				path: '/premisesEdit/:premisesId',
				name:'premisesEdit',
				component: () => import("@/components/premises/premisesEdit.vue"),
			},{
				path: '/premisesAdd',
				name:'premisesAdd',
				component: () => import("@/components/premises/premisesAdd.vue"),
			},{
				path: '/premisesDynamic',
				component: () => import("@/components/premises/premisesDynamic.vue"),
			},{
				path: '/premisesDynamicDetail/:id',
				name:'premisesDynamicDetail',
				component: () => import("@/components/premises/premisesDynamicDetail.vue"),
			},{
				path: '/premisesDynamicEdit/:id',
				name:'premisesDynamicEdit',
				component: () => import("@/components/premises/premisesDynamicEdit.vue"),
			},{
				path: '/premisesDynamicAdd',
				name: 'premisesDynamicAdd',
				component: () => import("@/components/premises/premisesDynamicAdd.vue"),
			},{
				path: '/premisesLabel',
				component: () => import("@/components/premises/premisesLabel.vue"),
			},{
				path:'/cusPre',
				name:'cusPre',
				component: () => import("@/components/cuspre/cusPre.vue"),
			},{
				path:'/cusPreAppeal',
				name:'cusPreAppeal',
				component: () => import("@/components/cuspre/cusPreAppeal.vue"),
			}, {
				path:'/cusPreDetail/:cusPreId',
				name:'cusPreDetail',
				component: () => import("@/components/cuspre/cusPreDetail.vue"),
			}, {
				path:'/orgCommission',
				name:'orgCommission',
				component: () => import("@/components/commission/orgCommission.vue"),
			}, {
				path:'/orgCommissionNew',
				name:'orgCommissionNew',
				component: () => import("@/components/commission/orgCommissionNew.vue"),
			},{
				path:'/commissionRule',
				component: () => import("@/components/commission/commissionRule.vue"),
			},{
				path:'/agentRankReport',
				name:'agentRankReport',
				component: () => import("@/pages/report/agentRankReport.vue"),
			},{
		
				path:'/ruleDetail:id',
				name:'ruleDetail',
				component: () => import("@/components/commission/ruleDetail.vue"),
			}, {
				path: '/orgCommissionDetail/:id',
				name: 'orgCommissionDetail',
				component: () => import("@/components/commission/orgCommissionDetail.vue"),
			},{
				path:'/cusPreSms',
				name:'CusPreSms',
				component: () => import("@/components/cuspre/cusPreSms.vue"),
			},{
				path: '/orgCommissionDetailNew/:agentOrgId/:premisesId',
				name: 'orgCommissionDetailNew',
				component: () => import("@/components/commission/orgCommissionDetailNew.vue"),
			},{
				path:'/smsReport',
				name:'smsReport',
				component: () => import("@/components/sms/smsReport.vue"),
			},{
				path:'/decision',
				name:'decision',
				component: () => import("@/components/sys/decision.vue"),
			},{
				path:'/weixinMsgSet',
				name:'weixinMsgSet',
				component: () => import("@/components/sms/weixinMsgSet.vue"),
			},
			...routerList
		]
	},{
		path: '/login',
		component: () => import("@/login.vue"),
	},{
		path: '*', //跳转主入口
        redirect: '/app'
	},{
        path: '/forgetPassword',
        component: () => import("@/forgetPassword.vue"),
	},{
		path: '/disableWechat',
		component: () => import("@/disableWechat.vue"),
	}

]
